WooMS\ProductVariable B

Total Complexity 94
Dependencies 5
Dependents 0
Total lines 880
Lines of code 526
Logical lines of code 306
Comment lines 128
Methods 25
Properties 2

Methods 25

Method Rating Maintainability Complexity Lines of code
set_product_attributes_for_variation()
A
37 11 85
batch_handler()
A
39 9 65
display_state()
A
44 9 46
update_variant_for_product()
A
43 6 54
save_attributes_for_variation()
S
47 6 36
update_product()
S
53 6 25
get_attribute_id_by_label()
S
57 6 18
add_schedule_hook()
S
57 6 17
get_attribute_taxonomy_by_id()
S
59 4 15
get_state()
S
61 4 13
load_data_variant()
S
57 3 18
set_state()
S
62 3 12
get_product_id_by_uuid()
S
62 3 11
is_wait()
S
66 3 9
add_variation()
S
59 2 14
get_variation_by_wooms_id()
S
61 2 12
add_settings()
S
56 1 18
is_enable()
S
71 2 6
variation_sync_id()
S
70 2 6
init()
S
58 1 14
walker_finish()
S
63 1 11
stop_manually()
S
73 1 5
start_manually()
S
73 1 5
reset_after_main_walker_finish()
S
69 1 7
set_wait()
S
76 1 4